﻿using System;
using HigLabo.Net.Extensions;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class AppUri : ResponseObject
    {
        /// <summary>
        /// 
        /// </summary>
        public String Uri { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="jsontext"></param>
        public AppUri(String jsontext)
        {
            this.SetProperty(jsontext);
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="jsontext"></param>
        public override void SetProperty(String jsontext)
        {
            var d = this.SetData(jsontext);
            this.Uri = d.ToString("uri");
            this.Type = d.ToString("type");
        }
    }
}
